package com.tencent.txcc.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.tencent.txcc.domain.Grow;
import com.tencent.txcc.mapper.GrowMapper;
import com.tencent.txcc.service.IGrowService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author director
 * @since 2022-10-04
 */
@Service
public class GrowServiceImpl extends ServiceImpl<GrowMapper, Grow> implements IGrowService {

    @Autowired
    private GrowMapper growMapper;

    @Override
    public Integer getGrowByUserId(Long user_id) {
        Integer grow = growMapper.getGrowByUserId(user_id);
        return grow;
    }
}
